home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 7
/
Amiga Format AFCD07 (Dec 1996, Issue 91).iso
/
serious
/
shareware
/
3d
/
raystorm-complete
/
examples
/
exa.lha
/
arexx
/
backdrop.ray
< prev
next >
Wrap
Text File
|
1996-07-27
|
749b
|
45 lines
/***************
* NAME: backdrop.ray
* DESCRIPTION: Test of backdroppicture
* AUTHOR: Andreas Heumann
***************/
signal on error
options results
IF ~show('P','RAYSTORM') THEN DO
address COMMAND 'run >NIL: <NIL: /RayStorm'
address COMMAND WaitForPort RAYSTORM
END
address RAYSTORM
'BRUSHPATH /brushes'
'SETSCREEN 180 90'
'SETCAMERA <0,0,-5> <0,0,0> <0,1,0> 90 45'
'SETWORLD [0,0,0] [100,100,100] BACKDROP=earth.png'
'POINTLIGHT <-5,5,-10> [255,255,255]'
'NEWSURFACE MAP'
'BRUSH eight_brush.png COLOR FLAT <0,0,0> <0,0,0> <1,1,1>'
'SPHERE MAP <0,0,0> 1'
'ANTIALIAS 2'
'STARTRENDER QUICK'
'SAVEPIC backdrop.iff'
'CLEANUP'
exit 0
error:
say "Error" rc "in line" sigl ":"
GETERRORSTR rc
say result
exit 0